[XEN] More emulator fixes:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 11 Jan 2007 10:10:16 +0000 (10:10 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 11 Jan 2007 10:10:16 +0000 (10:10 +0000)
commit68a749f1782d8639264fd9ef924db97c3b8048be
tree200adca69b8aa8f098e7c07032c74afcced9d948
parentdc5bf8aa504e69ce3d0b0eabc6a15364a205f473
[XEN] More emulator fixes:
 1. Emulate LAHF/SAHF instructions
 2. #GP if instruction is longer than 15 bytes
 3. Accept any number of prefix bytes (up to
    15-byte total instruction length)
 4. Repeated addr/data-size overrides are sticky
    rather than toggling.

2,3,4 are based on a patch from Jan Beulich.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/x86_emulate.c